package au.pavel.damageController;

import au.pavel.Units.IAttackObject;
import au.pavel.damage.IAttack;
import au.pavel.damageCalculator.IDamageCalculator;

public class DamageCalculator {
	private IDamageCalculator _calculator;
	
	public DamageCalculator(IDamageCalculator calculator) {
		_calculator = calculator;
	}
	
	public float CalculateDamage(IAttackObject _attackObject, IAttack _attack) {
		
		return _calculator.calculateDamage(_attackObject, _attack);
	}
}
